package com.oppo.jenkins.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * jenkins 集成gitee插件，自动化部署
 * @author steve
 * @since 2022-03-14 22:54
 */

@RestController
@RequestMapping(value = "/jenkins")
public class HelloJenkinsController {

    @GetMapping(value = "/hello")
    public String hello() {
        System.out.println("test echo");
        return "hello jenkins in gitee-test12345";
    }
}
